Pitch is one of the three Dynamics of Music* Along with Tempo and Volume

Do Re Mi Fa So La Ti Do
Pitch is determined by the note's position on the Staff*
As notes move up the scale/staff - pitch goes up and vice versa

Musical Stairs